﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using CP.Entities;
using CP.Utility;
using System.Data;

namespace CP.Win.IViews.GPM
{
    public delegate void EditValueChangedHandler(int groupid, int webpartid);
    public delegate void AuthButtonHandler(int groupid, int menuid, IList<int> btns);
    public delegate void UnAuthButtonHandler(int groupid, int menuid, IList<int> btns);

    public interface IButtonAuthorizeView
    {
        void BindUnAuthBtns(IList<Button_List> unAuthBtns);
        void BindAuthBtns(IList<Button_List> authBtns);

        event EditValueChangedHandler EditValueChanged;
        event AuthButtonHandler AuthButton;
        event UnAuthButtonHandler UnAuthButton;
    }
}
